package Jop;

import org.apache.hadoop.io.Text;
import org.codehaus.jettison.json.JSONArray;

public class CleanJob {
    public static String deleteString(String str,char delChar) {
        StringBuffer stringBuffer = new StringBuffer("");
        for (int i = 0; i < str.length();i++){
            if (str.charAt(i)!=delChar){
                stringBuffer.append(str.charAt(i));
            }
        }
                return stringBuffer.toString();
    }

    public static Text resultToString(JSONArray resultData) {
        Text text = null;
        return text;
    }
}